import request from '@/utils/request'
export function totalViewed() {
    return request({
        url: "/chart/Total_view",
        method: "get",
    })
}
export function articleRank() {
    return request({
        url: "/chart/article_rank",
        method: "get",
    })
}
export function getWxUser(uid) {
    return request({
        url: "/wxuser/getWxuser",
        method: "get",
        params: {
            'uid': uid
        }
    })
}
export function getDistantData(wxid, types) {
    return request({
        url: "/wxuser/getDistantData",
        method: "get",
        params: {
            'wxid': wxid,
            'types': types
        }
    })
}